package com.j2eefast.produce.pms.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 送检账户
 * pms_inspection_account
 * @author: summer
 * @date 2021-05-29 10:28
 */
@Data
@TableName("pms_inspection_account")
public class PmsInspectionAccountEntity implements Serializable {

//    /** 主键 */
//    @TableId(value = "id",type = IdType.INPUT)
//    private Long id;

    /**送检账户编号*/
//    @TableField(value = "project_code")
    @TableId(value = "inspection_account",type = IdType.INPUT)
    @ExcelProperty(value = "送检账户编号",index = 0)
    private Long inspectionAccount;
    /** 送样人 */
    @TableField(value = "inspection_user")
    @ExcelProperty(value = "送样人",index = 1)
    private String inspectionUser;


    /** 送样单位 */
    @TableField(value = "inspection_unit")
    @ExcelProperty(value = "送样单位",index = 2)
    private String inspectionUnit;

    /** 项目名称 */
    @TableField(value = "project_name")
    @ExcelProperty(value = "项目名称",index = 3)
    private String projectName;

    /** 项目类别 */
    @TableField(value = "project_type")
    @ExcelProperty(value = "项目类别",index = 4)
    private String projectType;

    /** 委托单位 */
    @TableField(value = "entrust_unit")
    @ExcelProperty(value = "委托单位",index = 5)
    private String entrustUnit;

    /** 见证人 */
    @TableField(value = "witness")
    @ExcelProperty(value = "见证人",index = 7)
    private String witness;

    /** 见证单位 */
    @TableField(value = "witness_unit")
    @ExcelProperty(value = "见证单位",index = 6)
    private String witnessUnit;

    /** 抽样人 */
    @TableField(value = "samplers")
    @ExcelProperty(value = "抽样人",index = 9)
    private String samplers;

    /** 抽样单位 */
    @TableField(value = "samplers_unit")
    @ExcelProperty(value = "抽样单位",index = 8)
    private String samplersUnit;

    /** 建设单位 */
    @TableField(value = "build_unit")
    @ExcelProperty(value = "建设单位",index = 10)
    private String buildUnit;

    /** 施工单位 */
    @TableField(value = "construction_unit")
    @ExcelProperty(value = "施工单位",index = 11)
    private String constructionUnit;

    /** 地址 */
    @TableField(value = "address")
    @ExcelProperty(value = "地址",index = 12)
    private String address;

    /** 委托联系人 */
    @TableField(value = "entrust_contacts")
    @ExcelProperty(value = "委托联系人",index = 13)
    private String entrustContacts;

    /** 状态 */
    @TableField(value = "status")
    @ExcelProperty(value = "状态",index = 14)
    private String status;

    /** 允许欠款额度 */
    @TableField(value = "quota")
    @ExcelProperty(value = "允许欠款额度",index = 15)
    private String quota;

    /** 折扣率 */
    @TableField(value = "discount")
    @ExcelProperty(value = "折扣率",index = 16)
    private String discount;

    /** 行政划区 */
    @TableField(value = "region")
    @ExcelProperty(value = "行政划区",index = 17)
    private String region;

    /** 检测行业 */
    @TableField(value = "testing_industry")
    @ExcelProperty(value = "检测行业",index = 18)
    private String testingIndustry;


    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    @ExcelProperty(value = "更新时间",index = 22)
    private Date updateTime;

    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    @ExcelProperty(value = "登记时间",index = 20)
    private Date createTime;

    /** 创建人 */
    @TableField(value = "create_by")
    @ExcelProperty(value = "创建人",index = 19)
    private String createBy;

    /** 更新人 */
    @TableField(value = "update_by")
    @ExcelProperty(value = "更新人",index = 21)
    private String updateBy;

    /** 备注 */
    @TableField(value = "remark")
    @ExcelProperty(value = "备注",index = 23)
    private String remark;
















}
